package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 渠道管理 - 查询业务员绑定的渠道列表接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-04-14
 */
public class MemberSalesChannelPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -3273622131233990757L;

    /**
     * 用户Id（业务员Id）
     */
    @NotNull(message = "业务员id要大于0")
    @Positive(message = "业务员Id要大于0")
    private Long userId;

    /**
     * 会员名称
     */
    private String name;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
